package com.chen.servicemap.service;

import com.chen.internalcommon.dto.ResponseResult;
import com.chen.servicemap.remote.ServiceClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author chenLiuPing
 **/
@Service
public class ServiceFromMapService {
    @Autowired
    private ServiceClient serviceClient;

    public ResponseResult add(String name) {
        return serviceClient.add(name);
    }
}
